import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/giftWall/exchangeConfigList${query}`,
    method: 'get',
  });
}

export function detailData() {
    return request({
      url: `/giftWall/exchangeConfigDetail`,
      method: 'get',
    });
  }
  
  export function addData(form) {
    return request({
      url: `/giftWall/exchangeConfigSave`,
      method: 'post',
      data:form
    });
  }


export function deleteData(form) {
    return request({
      url: `/giftWall/exchangeConfigDelete`,
      method: 'post',
      data:form
    });
}